package com.zbkj.crmeb.store.response;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Min;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 商品属性值表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2020-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "StoreProductAttrValue对象", description = "商品属性值表")
public class StoreProductAttrValueResponse implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "商品ID", example = "0")
    @Min(value = 0, message = "请选择商品")
    private Integer productId;

    @ApiModelProperty(value = "源skuid")
    private String sourceSkuId;

    @ApiModelProperty(value = "商品名称")
    private String storeName;

    @ApiModelProperty(value = "关键字")
    private String keyword;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "运费模板ID")
    private Integer tempId;

    @ApiModelProperty(value = "供应商名称")
    private String suppliersName;

    @ApiModelProperty(value = "商品属性索引值 (attr_value|attr_value[|....])")
    private String suk;

    @ApiModelProperty(value = "库存")
    private Integer groupStock;

    @ApiModelProperty(value = "属性对应的库存")
    private Integer stock;

    @ApiModelProperty(value = "销量")
    private Integer sales;

    @ApiModelProperty(value = "售价")
    private BigDecimal price;

    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "唯一值")
    private String unique;

    @ApiModelProperty(value = "成本价")
    private BigDecimal cost;

    @ApiModelProperty(value = "商品条码")
    private String barCode;

    @ApiModelProperty(value = "原价")
    private BigDecimal otPrice;

    @ApiModelProperty(value = "重量")
    private BigDecimal weight;

    @ApiModelProperty(value = "体积")
    private BigDecimal volume;

    @ApiModelProperty(value = "一级返佣")
    private BigDecimal brokerage;

    @ApiModelProperty(value = "二级返佣")
    private BigDecimal brokerageTwo;

    @ApiModelProperty(value = "活动类型 0=商品，1=秒杀，2=砍价，3=拼团")
    private Boolean type;

    @ApiModelProperty(value = "活动限购数量")
    private Integer quota;

    @ApiModelProperty(value = "活动限购数量显示")
    private Integer quotaShow;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "attrValue字段，取表中suk字段")
    private Object attrValue;

    @ApiModelProperty(value = "发货时间")
    private String deliveryTime;

    @ApiModelProperty(value = "收货时间")
    private String receivingTime;

    @ApiModelProperty(value = "税费 + 二段物流费用")
    private BigDecimal taxAndSecondPrice;

    @ApiModelProperty(value = "会员折扣金额")
    private BigDecimal memberDiscountPrice;

    @ApiModelProperty(value = "秒杀价")
    private BigDecimal spikePrice;

    @ApiModelProperty(value = "付费会员售价")
    private BigDecimal vipPrice;

    @ApiModelProperty(value = "二级会员售价")
    private BigDecimal v2Price;

    @ApiModelProperty(value = "三级会员售价")
    private BigDecimal v3Price;

    @ApiModelProperty(value = "供应商自定义skuId")
    private String selfSourceSkuId;

    @ApiModelProperty(value = "头程费用")
    private BigDecimal firstPrice;

    @ApiModelProperty(value = "二段费用")
    private BigDecimal secondPrice;

    @ApiModelProperty(value = "推送平台")
    private String pushPlatDesc;

}
